package com.bjc.platform.util;

import java.util.List;

@SuppressWarnings("rawtypes")
public class Page {
	private long totalCount = 0; // 总数
	private int pageSize = 10; // 当前页的显示数目
	private int thisPageNumber = 1; // 当前页
	private String orderField = "id"; // 排序的字段
	private String orderDirection = "desc"; // 升序或降序

	private List result;

	public long getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(long totalCount) {
		this.totalCount = totalCount;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getThisPageNumber() {
		return thisPageNumber;
	}

	public void setThisPageNumber(int thisPageNumber) {
		this.thisPageNumber = thisPageNumber;
	}

	public List getResult() {
		return result;
	}

	public void setResult(List result) {
		this.result = result;
	}

	public String getOrderField() {
		return orderField;
	}

	public void setOrderField(String orderField) {
		this.orderField = orderField;
	}

	public String getOrderDirection() {
		return orderDirection;
	}

	public void setOrderDirection(String orderDirection) {
		this.orderDirection = orderDirection;
	}

}
